<%@page import="com.license.servlets.UserServlet"%>
<%@include file="AdminBasePage.jsp"%>
<f:view>
	<html>

<div class="span9">
	<% User userToEdit = (User)session.getAttribute("userToEdit"); %>
	<h1 class="page-title">Create User</h1>
	<div class="well">
		<div id="myTabContent" class="tab-content">
			<div class="tab-pane active in" id="home">
				<form id="tab" action="../UserServlet?operation=createUser" method="post">		
					<input hidden="true" id="operation" name="operation" />
					<label>Username</label>
					<input type="text" id="createdUserName" name="createdUserName" class="input-xlarge" />
					<label>Name</label> 
					<input type="text" id="name" name="name"  class="input-xlarge" />
					<label>Contact</label>
					<input type="text" id="contact" name="contact" class="input-xlarge" />
					<label>Authorization</label> 
					<input type="text" id="authorization" name="authorization"  class="input-xlarge" />
					<label>Address</label>
					<textarea id="address" name="address" rows="3" class="input-xlarge" >
        			</textarea>
        			<label>Password</label>
					<input type="password" id="password" name="password" class="input-xlarge" />
					<label>Password Confirmation</label>
					<input type="password" id="passwordConfirmation" name="passwordConfirmation" class="input-xlarge" />
        			<input class="btn btn-primary"  type="submit" value="Create"/>
				</form>
			</div>
		</div>

	</div>

</div>
</div>
<footer>
	<hr>
	<!-- Purchase a site license to remove this link from the footer: http://www.portnine.com/bootstrap-themes -->
	<p class="pull-right">
		Procadio <a href="#" target="_blank">best lifestile recomandation
			software</a>
	</p>
	<p>
		&copy; 2013 <a href="#">Cozac Adrian & Mesaros Ionut</a>
	</p>
</footer>
<!-- Le javascript
    ================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
</body>
	</html>
</f:view>